﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="/WebCss/skins/Ext/asyncbox.css" rel="stylesheet" type="text/css" />
    <script src="/ClientJs/jquery.js" type="text/javascript"></script>
    <script src="/ClientJs/AsyncBox.js" type="text/javascript"></script>
    <style type="text/css">
        body 
        {
	        font-family: 微软雅黑, 'Microsoft YaHei', Helvetica, Tahoma, StSun, 宋体, SimSun, sans-serif !important;
            font-size:14px;
            text-align:center;
        }
        body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre, 
        form,fieldset,input,textarea,p,blockquote,th,td,lable{padding: 0;margin: 0;} 
        ol,ul,li { list-style: none; } 
        caption,th { text-align: left; } 
        img
        {
            border:0;
        }
        a
        {
            text-decoration:none;
            color:#0277c1;
        }
        a:hover
        {
            text-decoration:underline;   
            color:#FF6600;
        }

        .inputcss
        {
            display:block;
            width:160px;
        }
        ul li
        {
            width:280px;
            margin:10px auto;
        }
        /*清除浮动*/
        .clearfix:after {
            content: ".";
            display: block;
            height: 0;
            clear: both;
            visibility: hidden;
            font-size: 0;
        }
        .clearfix {display: inline-block; }
        * html .clearfix {height: 1%;}
        .clearfix {display: block;}
        .clearfix {zoom: 1;}
        h3
        {
            
            font-style:italic;
        }
        .c8 {border:1px solid #ddd;}
        .textcss
        {
	        font-family: 微软雅黑, 'Microsoft YaHei', Helvetica, Tahoma, StSun, 宋体, SimSun, sans-serif !important;
            font-size: 13px;
            height: 17px;
            line-height: 17px;
            padding: 3px 3px 5px;
            background: #EEE url("/Webimg/input-bg.gif") repeat-x 0 1px scroll;
            border: 1px solid #AAA;    
        }
        .div_base
        {
            width:350px;
            text-align:left;
            line-height:41px;
            height:41px;
        }
    </style>
    <script language="javascript" type="text/javascript">
        function checkuser() {
            if ($("#username").val() == "") {
                asyncbox.tips('请输入用户名!');
                $("#username").focus();
            }
            else if ($("#pwd").val() == "") {
                asyncbox.tips('请输入密码!');
                $("#pwd").focus();
            }
            else {
                $.ajax({
                    type: "post",
                    url: "/AjaxWeb.aspx",
                    data: {
                        type: "getUser",
                        username: $("#username").val(),
                        userpass: $("#pwd").val()
                    },
                    beforeSend: function (XMLHttpRequest) { },
                    success: function (data, textStatus) {
                        if (data == "ok") {
                            parent.closebox();
                        }
                        else {
                            asyncbox.tips('用户名或密码错误!');
                            $("#username").focus();
                        }
                    },
                    complete: function (XMLHttpRequest, textStatus) {
                    },
                    error: function (XMLHttpRequest, textStatus, errorThrown) {
                        asyncbox.tips("登录出错，请稍后再试!");
                    }
                });
            }
        }
    </script>
</head>
<body>
    <div class="c8" style="width:500px;height:266px;">
    <div style="height:120px;padding:10px;">
        <h3>还有没有账号吗？赶快注册，加入evovip</h3>
        <h3>感受网购的新体验！</h3>
        <br />
        <a href="/regedit.html" target="_blank"><img src="/Webimg/log_reg.gif" alt="" /></a>
    </div>
    <div style="padding:10px;background:#D9E9FF;">
        <div style="font-weight:bold;font-size:16px;">
            用户登录
        </div>
        <div>
            <ul>
                <li>
                    <label style="display:block;width:80px;height:27px;font-size:16px;line-height:27px; text-align:left;float:left;">用户名：</label>
                    <input type="text" id="username" class="textcss" style="width:180px;" />
                </li>
                <li>
                    <label style="display:block;width:80px;height:27px;font-size:16px;line-height:27px;text-align:left;float:left;">密码：</label>
                    <input type="password" id="pwd" class="textcss" style="width:180px;" />
                </li>
            </ul>
        </div>
    </div>
    </div>
</body>
</html>
